package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/***
 ** Create by Wedream on 2021/7/23
 *  实体：牛客比赛信息
 *  book(id,contest_name,status,register_time,contest_time,sponsor,contest_num,url)
 */
@TableName("contest")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Contest {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String contestName;
    private String status;
    private String registerTime;
    private String contestTime;
    private String sponsor;
    private Integer contestNum;
    private String url;
}
